package com.quanyan.place.request;


import com.quanyan.place.response.RespPlaceElementsInfo;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by jingliu on 16/5/26.
 */
public class ReqCommentAdd implements Serializable{
    private Integer uid;
    @NotNull
    private Integer placeId;
    @NotNull
    private String commentContent;

    private Integer replayId;
    @NotNull
    private Integer CommentType;

    private Double avgSocre;

    private Date commentTime;

    private String orderId;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    @NotNull
    private List<RespPlaceElementsInfo> commentTypeList;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Integer getReplayId() {
        return replayId;
    }

    public void setReplayId(Integer replayId) {
        this.replayId = replayId;
    }

    public Integer getCommentType() {
        return CommentType;
    }

    public void setCommentType(Integer commentType) {
        CommentType = commentType;
    }

    public Double getAvgSocre() {
        return avgSocre;
    }

    public void setAvgSocre(Double avgSocre) {
        this.avgSocre = avgSocre;
    }

    public List<RespPlaceElementsInfo> getCommentTypeList() {
        return commentTypeList;
    }

    public void setCommentTypeList(List<RespPlaceElementsInfo> commentTypeList) {
        this.commentTypeList = commentTypeList;
    }
}
